using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("StringUtils")]
	public class StringUtils : MonoClass
	{
		public static string SPLIT_LINES_CHARS => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StringUtils", "SPLIT_LINES_CHARS");

		public static List<char> SPLIT_LINES_CHARS_ARRAY => MonoClass.smethod_7<Class250<char>>(TritonHs.MainAssemblyPath, "", "StringUtils", "SPLIT_LINES_CHARS_ARRAY")?.method_25();

		public static string REGEX_RESERVED_CHARS => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StringUtils", "REGEX_RESERVED_CHARS");

		public static List<char> REGEX_RESERVED_CHARS_ARRAY => MonoClass.smethod_7<Class250<char>>(TritonHs.MainAssemblyPath, "", "StringUtils", "REGEX_RESERVED_CHARS_ARRAY")?.method_25();

		public StringUtils(IntPtr address, string className)
			: base(address, className)
		{
		}

		public StringUtils(IntPtr address)
			: this(address, "StringUtils")
		{
		}

		public static string StripNonNumbers(string str)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "StringUtils", "StripNonNumbers", str);
		}

		public static string StripNewlines(string str)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "StringUtils", "StripNewlines", str);
		}

		public static List<string> SplitLines(string str)
		{
			return MonoClass.smethod_15<Class249>(TritonHs.MainAssemblyPath, "", "StringUtils", "SplitLines", new object[1] { str })?.method_25();
		}

		public static bool CompareIgnoreCase(string a, string b)
		{
			return MonoClass.smethod_14<bool>(TritonHs.MainAssemblyPath, "", "StringUtils", "CompareIgnoreCase", new object[2] { a, b });
		}

		public static bool Contains(string str, string val, StringComparison comparison)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "StringUtils", "Contains", new Class276.Enum20[3]
			{
				Class276.Enum20.String,
				Class276.Enum20.String,
				Class276.Enum20.ValueType
			}, new object[3] { str, val, comparison });
		}

		public static bool Contains(string s, char c)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "StringUtils", "Contains", new Class276.Enum20[2]
			{
				Class276.Enum20.String,
				Class276.Enum20.ValueType
			}, new object[2] { s, c });
		}
	}
}
